﻿<%@ page language="C#" autoeventwireup="true" inherits="SysLogin" CodeFile="SysLogin.aspx.cs" 
culture="auto:en-US" uiculture="auto" meta:resourcekey="PageResource1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Project Monitoring System</title>
    <link href="Ip.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<form id="form1" runat="server">
		<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
		<div style="left-margin:0px">
			<table width="100%" height="600" border="0" cellspacing="0" cellpadding="0">
				<tr valign="top">
					<td valign="top" align="left" colspan="2" bgcolor="#9AB6DE">
						<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/ipms banner.jpg" meta:resourcekey="Image1Resource1" />
					</td>
				</tr>
				<tr valign="top" class="menu">
					<td style="text-align: right;" valign="top" colspan="2">
						<asp:LinkButton ID="lbEng" runat="server" CssClass="menu" meta:resourcekey="lbEngResource1" Text="English"/>&nbsp;
						<asp:LinkButton ID="lbTradChi" runat="server" CssClass="menu" meta:resourcekey="lbTradChiResource1" Text="繁體中文"/>&nbsp;
						<asp:LinkButton ID="lbSimpChi" runat="server" CssClass="menu" meta:resourcekey="lbSimpChiResource1" Text="简体中文"/>
					</td>
				</tr>
				<tr><td height="200"></td></tr>
				<tr valign="top" height="100%">
					<td width="100%" align="center">
						<asp:Panel ID="Panel1" runat="server" Width="300px" CssClass="dropShadowPanel" meta:resourcekey="Panel1Resource1">
							<div style="padding: 10px; text-align: center">
								<div style="padding: 5px; border: solid black thin; background-color: #B4B4B4;">
									<table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse">
										<tr>
											<td>
												<table border="0" cellpadding="0" style="width: 100%">
													<tr>
														<td align="center" colspan="2" style="font-size: 11pt">
															<asp:Label ID="Label1" runat="server" Text="Label" meta:resourcekey="LoginResource">Log In</asp:Label> 
														</td>
													</tr>
													<tr>
														<td align="left" style="font-size: 10pt; width: 88px;">
															<asp:Label ID="lblUserName" runat="server" AssociatedControlID="txtUserName" meta:resourcekey="UserNameLabelResource1" Text="User Name:" Width="100%"></asp:Label></td>
														<td>
															<asp:TextBox ID="txtUserName" runat="server" meta:resourcekey="UserNameResource1" Width="127px"></asp:TextBox>
															<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="txtUserName"
																ErrorMessage="User Name is required." Font-Size="10pt" ToolTip="User Name is required."
																ValidationGroup="Login1" meta:resourcekey="UserNameRequiredResource1">*</asp:RequiredFieldValidator>
														</td>
													</tr>
													<tr>
														<td align="left" style="font-size: 10pt; width: 88px;">
															<asp:Label ID="lblPassword" runat="server" AssociatedControlID="txtPassword" meta:resourcekey="PasswordLabelResource1" Width="100%" Text="Password:"></asp:Label>
														</td>
														<td align="left">
															<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" meta:resourcekey="PasswordResource1" Width="127px"></asp:TextBox>
															<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="txtPassword"
																ErrorMessage="Password is required." Font-Size="10pt" ToolTip="Password is required."
																ValidationGroup="Login1" meta:resourcekey="PasswordRequiredResource1">*</asp:RequiredFieldValidator>
														</td>
													</tr>
													<tr>
														<td align="center" colspan="2" style="color: red">
															<asp:Label ID="lblError" runat="server"/>
														</td>
													</tr>
													<tr>
														<td align="right" colspan="2" style="height: 32px">
															<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" 
																ValidationGroup="Login1" meta:resourcekey="LoginButtonResource1" 
																onclick="LoginButton_Click" />
														</td>
													</tr>
													<tr>
														<td colspan="2">
															<asp:HyperLink ID="PasswordRecoveryLink" runat="server" NavigateUrl="~/ForgotPassword.aspx" meta:resourcekey="PasswordRecoveryLinkResource1" Text="Forgot your password?" Visible="False"></asp:HyperLink>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</div>
							</div>
						</asp:Panel>
					</td>
				</tr>
			</table>
		</div>
	</form>
</body>
</html>
